package com.xiaozhu.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author 朱慧军
 * @version 1.0
 */
@Mapper
public interface ChatContentMapper {
    @Select("select content from chat_content where session_id =#{id} and role =#{name}")
    List<String> chatContent(int id, String name);
}
